package com.yanqu.road.entity.log;


import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_tomb_user_achievement_reward", autoSave = true)
public class LogTombUserAchievementReward {
    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "活动Id")
    private int activityId;
    @FieldTypeAnnotation(desc = "商会id")
    private String unionUid;

    @FieldTypeAnnotation(desc = "当前层")

    private int floor;
    @FieldTypeAnnotation(desc = "坐标x")

    private int x;
    @FieldTypeAnnotation(desc = "坐标y")

    private int y;
    @FieldTypeAnnotation(desc = "成就id")

    private int relationId;

    @FieldTypeAnnotation(desc = "获得奖励")

    private String rewards;

    @FieldTypeAnnotation(desc = "时间")
    private Date time;

    public LogTombUserAchievementReward() {

    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public String getUnionUid() {
        return unionUid;
    }

    public void setUnionUid(String unionUid) {
        this.unionUid = unionUid;
    }

    public int getFloor() {
        return floor;
    }

    public void setFloor(int floor) {
        this.floor = floor;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public int getRelationId() {
        return relationId;
    }

    public void setRelationId(int relationId) {
        this.relationId = relationId;
    }

    public String getRewards() {
        return rewards;
    }

    public void setRewards(String rewards) {
        this.rewards = rewards;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
